package com.heo.protocol.packet;

import org.apache.log4j.Logger;

import com.heo.pub.DictEnum;
import com.heo.util.ByteHelper;

public class ReportDeviceStatusResp extends BasePacket
{
  private int BODY_LENGTH = 0;// 包体长6个字节

  private static final String PACKET_NAME = "[上传设备状态应答包]";
  private static Logger log = Logger.getLogger(ReportDeviceStatusResp.class);
  
  public ReportDeviceStatusResp(short sequenceId) throws Exception
  {
    super(PACKET_NAME);
    super.totalLength = (short) (HEAD_LENGTH + BODY_LENGTH);
    super.commandId = DeviceCommand.REPORT_DEVICE_STATUS_RESP;
    super.sequenceId = sequenceId;
  }
  
  @Override
  public int getTotalLength()
  {
    return super.HEAD_LENGTH + BODY_LENGTH;
  }

  @Override
  public byte[] getPacketBody()
  {
    return new byte[0];
  }

  public static void main(String[] args)
  {

  }

  @Override
  public void makeBody()
  {

  }

}
